icontheme: Move IMAGE_MISSING_RESOURCE_PATH to (private) header
authorAlexander Larsson <alexl@redhat.com>
Thu, 6 Feb 2020 09:27:02 +0000 (10:27 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 6 Feb 2020 16:47:56 +0000 (17:47 +0100)
This way other code can use this resource too for fallbacks, avoing
having to go through the icon theme.

gtk/gtkicontheme.c
gtk/gtkiconthemeprivate.h

index 639c881cdc199a60953edc0b4a2000aae86f96b2..9b356b4e9bad06e824600c2595cf588b7e77b633 100644 (file)
@@ -58,8 +58,6 @@
  */
 #include "fallback-c89.c"
 
-#define IMAGE_MISSING_RESOURCE_PATH "/org/gtk/libgtk/icons/16x16/status/image-missing.png"
-
 /**
  * SECTION:gtkicontheme
  * @Short_description: Looking up icons by name
index 53bef46d4416d3137ce15870623cfbd4df983080..4a508b34433ce5d1fd1c9b02551018a261a808cf 100644 (file)
@@ -21,6 +21,8 @@
 #include <gtk/gtkicontheme.h>
 #include <gtk/gtkcssstyleprivate.h>
 
+#define IMAGE_MISSING_RESOURCE_PATH "/org/gtk/libgtk/icons/16x16/status/image-missing.png"
+
 void gtk_icon_theme_lookup_symbolic_colors   (GtkCssStyle      *style,
                                               GdkRGBA          *color_out,
                                               GdkRGBA          *success_out,